package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntityPlus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * 支付订单信息对象 web_mall_user_order_pay
 * 
 * @author wsliupan@126.com
 * @date 2021-06-19
 */
@ApiModel("支付订单信息对象")
public class WebMallUserOrderPay extends BaseEntityPlus
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 下单用户标识id */
    @Excel(name = "下单用户标识id")
    @ApiModelProperty(value = "下单用户标识id" )
    @NotNull(message = "下单用户标识id")
    private Long userId;

    /** 商品id */
    @Excel(name = "商品id")
    @ApiModelProperty(value = "商品id" , hidden = true )
    private Long productId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    @ApiModelProperty(value = "订单编号" )
    @NotNull(message = "订单编号")
    private Long orderId;

    /** 订单号 */
    @Excel(name = "订单号")
    @ApiModelProperty(value = "订单号" )
    @NotNull(message = "订单号")
    private String orderNo;

    /** 产品名称 */
    @Excel(name = "产品名称")
    @ApiModelProperty(value = "产品名称" , hidden = true )
    private String productName;

    /** 订单的一些附加信息描述(产品信息，交易信息等) */
    @Excel(name = "订单的一些附加信息描述(产品信息，交易信息等)")
    @ApiModelProperty(value = "订单的一些附加信息描述(产品信息，交易信息等)" , hidden = true )
    private String attach;

    /** 总金额 */
    @Excel(name = "总金额")
    @ApiModelProperty(value = "总金额" )
    @NotNull(message = "总金额")
    private Double totalFee;

    /** 货币类型(CNY-人民币 ) */
    @Excel(name = "货币类型(CNY-人民币 )")
    @ApiModelProperty(value = "货币类型(CNY-人民币 )" , hidden = true )
    private String feeType;

    /** 1支付宝 2微信 3云通付 4全额抵扣 5线下 */
    @Excel(name = "1支付宝 2微信 3云通付 4全额抵扣 5线下")
    @ApiModelProperty(value = "1支付宝 2微信 3云通付 4全额抵扣 5线下" , hidden = true )
    private String tradeType;

    /** 第三方返回的订单号 */
    @Excel(name = "第三方返回的订单号")
    @ApiModelProperty(value = "第三方返回的订单号" , hidden = true )
    private String goodsTag;

    /** 订单生成时间(格式为yyyyMMddHHmmss) */
    @Excel(name = "订单生成时间(格式为yyyyMMddHHmmss)")
    @ApiModelProperty(value = "订单生成时间(格式为yyyyMMddHHmmss)" , hidden = true )
    private String timeStart;

    /** 订单失效时间(格式为yyyyMMddHHmmss) */
    @Excel(name = "订单失效时间(格式为yyyyMMddHHmmss)")
    @ApiModelProperty(value = "订单失效时间(格式为yyyyMMddHHmmss)" , hidden = true )
    private String timeExpire;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setAttach(String attach) 
    {
        this.attach = attach;
    }

    public String getAttach() 
    {
        return attach;
    }
    public void setTotalFee(Double totalFee)
    {
        this.totalFee = totalFee;
    }

    public Double getTotalFee()
    {
        return totalFee;
    }
    public void setFeeType(String feeType) 
    {
        this.feeType = feeType;
    }

    public String getFeeType() 
    {
        return feeType;
    }
    public void setTradeType(String tradeType) 
    {
        this.tradeType = tradeType;
    }

    public String getTradeType() 
    {
        return tradeType;
    }
    public void setGoodsTag(String goodsTag) 
    {
        this.goodsTag = goodsTag;
    }

    public String getGoodsTag() 
    {
        return goodsTag;
    }
    public void setTimeStart(String timeStart) 
    {
        this.timeStart = timeStart;
    }

    public String getTimeStart() 
    {
        return timeStart;
    }
    public void setTimeExpire(String timeExpire) 
    {
        this.timeExpire = timeExpire;
    }

    public String getTimeExpire() 
    {
        return timeExpire;
    }


}
